package com.example.yurqi.webviewexample.model;

import android.webkit.JavascriptInterface;

/**
 * Created by yurqi on 17-10-20.
 */

public class Person {
    private String name;
    private int age;
    private int sex;

    @JavascriptInterface
    public String getName() {
        return name;
    }

    @JavascriptInterface
    public void setName(String name) {
        this.name = name;
    }

    @JavascriptInterface
    public int getAge() {
        return age;
    }

    @JavascriptInterface
    public void setAge(int age) {
        this.age = age;
    }

    @JavascriptInterface
    public int getSex() {
        return sex;
    }

    @JavascriptInterface
    public void setSex(int sex) {
        this.sex = sex;
    }
}
